import re

def is_url(url):
	p = re.compile(r"^((https?):\/\/)?(\w+\.)+(\w+)\/?$",re.I)
	m = p.match(url)
	if m:
		return True
	return False

isurl = is_url("httpa://10.11.1.1")
print(isurl)